package com.dominator.service;

import com.dominFramework.core.typewrap.Dto;
import com.dominator.utils.api.ApiMessage;
import com.dominator.utils.exception.ApiException;

import javax.servlet.http.HttpServletRequest;

public interface ApiOtosaasService {


    /**
     *  验证
     *
     * @param request
     * @return
     */
    String validation(HttpServletRequest request);

    /**
     * 联合登陆
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage jointLogin(Dto dto) throws ApiException;
}
